<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
	<title></title>
	<script type="text/javascript" src="__dotnar_lib_base_url__/js/lib/require.min.js"></script>
	<script type="text/javascript" src="__dotnar_lib_base_url__/js/lib/loader.js"></script>
    <script type="text/javascript" src="/js/require.config.js"></script>
    <script type="text/javascript">
    require(["core"], function() {
    	require(["./js/pages/sign_in"],function (argument) {
        	window.removeLoader();       	
    	});
    });
    </script>
    
</head>
<body>
    <div style="display:none" id="jSouperApp">
        <xmp>
        {{#include "./pages/mobile/default/top.html"}}
        <!-- {{#include "./pages/mobile/default/nav.html"}} -->

        <div class="loginbox">
            <div class="sign_in_form {{logintype&&'focus'}}">
                <div class="title">Dotnar账户</div>
                <form action="" method="post">
                    <table>
                        <tr>
                            <td>
                                <input maxlength="25" type="text" name="name" value="{{$Cache.sign_in.name}}" bind-input="{{'$Cache.sign_in.name'}}" placeholder="用户名" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <input maxlength="16" type="password" name="password" placeholder="密码" value="{{$Cache.sign_in.password}}" bind-input="{{'$Cache.sign_in.password'}}" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <input type="button" class="button" value="登陆" event-click="{{'$Event.sign_in.login'}}" />
                            
                                <input class="button" type="button" value="切换到注册" event-click="{{'$Event.changlogin'}}"  />
                            </td>
                        </tr>
                    </table>
                </form>
            </div>

            <div class="sign_up_form">
                <div class="title">填写Dotnar账户资料</div>
                <form action="" method="post"> 
                    <table>
                        <tr>
                            <td>
                                {{#> "auto-clear-input","u_name",true,({
                                    "type":"text",
                                    "id":"u_name",
                                    "name":"u_name",
                                    "maxlength":"25",
                                    "value":"username",
                                    "placeholder":"用户名"
                                })}}
                            </td>
                        </tr>
                        <tr>
                            <td>
                                {{#> "auto-clear-input","phone_num",true,({
                                    "type":"text",
                                    "id":"phone_num",
                                    "name":"phone_num",
                                    "maxlength":"11",
                                    "value":"phone_number",
                                    "placeholder":"手机号码"
                                })}}
                            </td>
                        </tr>
                        <tr>
                            <td>
                                {{#> "auto-clear-input","e_mail",true,({
                                    "type":"text",
                                    "id":"e_mail",
                                    "name":"e_mail",
                                    "maxlength":"25",
                                    "value":"email",
                                    "placeholder":"邮箱"
                                })}}
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <input maxlength="16" type="password" name="pwd" id="pwd" placeholder="密码"/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <input maxlength="16" type="password" name="re_pwd" id="re_pwd" placeholder="再次输入密码"/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <input class="button default" type="submit" value="注册" />
                            
                                <input class="button" type="button" value="切换到登陆" event-click="{{'$Event.changlogin'}}"  />
                            </td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>



        {{#include "pages/mobile/default/bottom.html"}}
        </xmp>

    </div>

</body>
</html>